package singleton;

/**
 * @Description: null
 * @Project: testDemo
 * @Author: hjibo
 * @CreateDate: 2019/1/23 13:25
 * @ModificationHistory: （who whatTime doWhat）
 */
public class SingletonClass3 {

    private static class Singleton{
        private static final SingletonClass3 singletonClass3 = new SingletonClass3();
    }

    public static SingletonClass3 getInstance(){
        System.out.println(111);
        return Singleton.singletonClass3;
    }

    private SingletonClass3() {
    }
}
